// NewGeometryObject.cpp: implementation of the NewGeometryObject class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "NewGeometryObject.h"
#include "SHPoint.h"
#include "dbhandle.h"
#include "dbents.h"
#include "PartPoint.h"
#include "supporthanger.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

IMPLEMENT_SINGLETON(NewGeometryObject)

NewGeometryObject::NewGeometryObject()
{

}

NewGeometryObject::~NewGeometryObject()
{

}

ModelObserver* NewGeometryObject::Generate(Part& part, const AcDbHandle& handle)
{
/*	ASSERT(part.SupportHangerOwner());
	ASSERT(part.SupportHangerOwner()->SupportHangerObserver());
	ASSERT(!handle.isNull());

	PartPoint* pPoint = new PartPoint;
	ASSERT(pPoint);
	BOOL bResult = pPoint->Create(handle, &part);
	if(!bResult)
	{
		delete pPoint;
		return NULL;
	}
	
	pPoint->SetPart(&part);
	part.AddObserver(pPoint);
	part.PartObserver(pPoint);
	part.SupportHangerOwner()->SupportHangerObserver()->AddSubPart(pPoint);

	return pPoint;*/
	return NULL;
}